<?php

namespace App\Models\User;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class WxUserCoinRecord extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'wx_user_coin_record';

    public function ower()
    {
        return $this->hasOne(WxUser::class, 'id', 'user_id');
    }

}
